package junit.controller;

import name.jiaosha.air.company.controller.StorageController;
import name.jiaosha.air.company.domain.Storage;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class TestStorageController {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		ApplicationContext context = new ClassPathXmlApplicationContext(
				new String[] { "applicationContext.xml" });

		StorageController lc = (StorageController) context
				.getBean("storageController");

		// lc.getMyCarInfoList();

		Storage storage = new Storage();
		storage.setName("仓库一");
		//lc.create(storage);

	}

}
